import data
import matplotlib.pyplot as plt

SamplingF = 2*10**9  # sampling frequency
Sdata, Pathname = data.readcsv()
print(Pathname)

S = data.signal(Sdata, SamplingF)  # select file and read csv

S.mapsignal()
plt.show()
plt.close()


S_mean, S_sigma, S_skew, S_kurtosis = S.parameters()
print(S_mean)
print(S_kurtosis)
print(S_sigma)
print(S_kurtosis)

